package com.xizimall.portal.service;

import java.util.List;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.xizimall.portal.pojo.CartItem;
import com.xizimall.common.pojo.XizimallResult;

public interface CartService {
   XizimallResult addCartItem(Long itemId,Integer num ,HttpServletRequest request, HttpServletResponse response);
   List<CartItem> getCartItemList(HttpServletRequest request,HttpServletResponse response);
   XizimallResult updateCartItemNum(Long itemId,Integer num,HttpServletRequest request,HttpServletResponse response);
   XizimallResult deleteCartItem(Long itemId,HttpServletRequest request,HttpServletResponse response);
}
